package com.tarena.lbs.pojo.basic.bo;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
public class AdminBO implements Serializable,LoginBO {
    private Integer id;

    private Integer accountType;

    private Integer businessId;

    private String accountPhone;

    private String accountPassword;

    private String nickname;

    private String email;

    private Integer accountStatus;

    private Date createTime;

    private String jwt;

    @Override
    public Integer getRoles() {
        return this.accountType;
    }
}